﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="CreateShared.Orders_Module.Views.Orders_ModuleDefault"
    Title="Default" MasterPageFile="~/Shared/DefaultMaster.master" %>
<%@ Register src="UserControls/OrderList.ascx" tagname="OrderList" tagprefix="uc1" %>
<%@ Register src="UserControls/OrderDetails.ascx" tagname="OrderDetails" tagprefix="uc2" %>
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" Runat="Server">
    <h1>Order test</h1>
    <p>Select an order from the order list to view the details of that order.</p>
    <p>
    When an order is selected an event is triggered from the controller. And since both user controls uses the same instance of the controller,
    the details view presenter is able to respond to selection from the order list.
    </p>
    <uc1:OrderList ID="OrderList1" runat="server" />
    <uc2:OrderDetails ID="OrderDetails1" runat="server" />
</asp:Content>

